﻿using Newtonsoft.Json;
using Org.BouncyCastle.Crypto;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// IU分析委托流程 主表
    /// </summary>
    [SugarTable("IUCommissionedAnalysisProcessHeader")]
    public class IUCommissionedAnalysisProcessHeader : BaseHead
    {
        /// <summary>
        /// 内部编号
        /// </summary>
        public string InternalNumber { get; set; }

        /// <summary>
        /// 成本中心
        /// </summary>
        public string CostCenter { get; set; }

        /// <summary>
        /// 地址/公司
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 委托者名
        /// </summary>
        public string DelegatorUserName { get; set; }

        /// <summary>
        /// 委托者工号
        /// </summary>
        public string DelegatorUserWorknumber { get; set; }

        /// <summary>
        /// 委托者ID
        /// </summary>
        public string DelegatorUserId { get; set; }

        /// <summary>
        /// //委托者手机号
        /// </summary>
        public string PhoneNumber { get; set; }

        /// <summary>
        ///  //委托者邮箱
        /// </summary>
        public string DelegatorEmail { get; set; }

        /// <summary>
        /// //背景和目的
        /// </summary>
        public string BackgroundPurpose { get; set; }


        /// <summary>
        /// //抄送人id
        /// </summary>
        public string CcUsersId { get; set; }

        /// <summary>
        /// //抄送人名称
        /// </summary>
        public string CcUsersName { get; set; }

        /// <summary>
        /// //本次分析费用
        /// </summary>
        public string AnalysisCost { get; set; }


        /// <summary>
        /// 优惠费用
        /// </summary>
        public string DiscountAnalysisCost { get; set; }

        /// <summary>
        /// 行数据
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<IUCommissionedAnalysisProcessDetail> LineData { get; set; }

        /// <summary>
        /// 行数据
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<IUCommissionAnalysisTestItemsDetail> AnalysisTestItemsInstrumentLineData { get; set; }
    }
}
